package com.baomidou.ant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
public class PvpMessage {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;

    /**
     * 发起者
     */
    private Integer requestUser;
    /**
     * 收到
     */
    private Integer responseUser;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 状态,0为未读，1为已读接受，2为已读拒绝，3处理完的消息
     */
    private String status;
}
